﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mysoft.MyCM.Scm
{
	public partial class Job
	{
		public Job()
		{
			Tasks = new HashSet<Task>();
		}

		public Guid JobGUID { get; set; }

		public string JobName { get; set; }

		public Guid ProjectGUID { get; set; }

		public int Priority { get; set; }

		public string CreateBy { get; set; }

		public DateTime CreateTime { get; set; }

		public int State { get; set; }

		public DateTime? StartTime { get; set; }

		public DateTime? FinishTime { get; set; }

		public Guid JobTemplateGUID { get; set; }

		public virtual JobTemplate JobTemplate { get; set; }

		public virtual Project Project { get; set; }

		public virtual ICollection<Task> Tasks { get; set; }
	}
}
